﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>ATH TaskList 2012 - @ViewBag.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div id="wrapper">
        <div id="header-wrapper">
            <div id="header">
                <div id="logo">
                    <h1>@Html.ActionLink("ATH TaskList 2012", "Index", "Home")</h1>
                    
                </div>
                <div id="menu">
                    <ul>
                        <li>@Html.ActionLink("Home", "Index", "Home")</li>
                        <li>@Html.ActionLink("Send Mail", "SendMessage", "Home")</li>
                        <li>@Html.ActionLink("Calendar", "Index", "Calendar")</li>
                        @if (Request.IsAuthenticated) {
                        <li>@Html.ActionLink("Log off", "LogOff", "Account")</li>
                        } else {
                        <li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
                        }
                    </ul>
                    @if (Request.IsAuthenticated) {
                    <p>Welcome, @User.Identity.Name</p>
                    }
                </div>
            </div>
        </div>
        <div id="page">
            <div id="page-bgtop">
                <div id="page-bgbtm">
                    <div id="content">
                        @RenderSection("featured", required: false)
                        @RenderBody()
                    </div>
                    <div style="clear: both;">&nbsp;</div>
                </div>
            </div>
        </div>
        </div>
        <footer>
            <p>&copy; @DateTime.Now.Year - ATH TaskList 2012</p>
        </footer>
    
    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)
</body>
</html>
